package com.plant.dao;

import com.plant.pojo.Plant;

import java.util.List;

public interface PlantMapper {
    int addPlant(Plant plant);

    List<Plant> queryAll();

    Plant queryByRn(String resourceNumber);

    List<Plant> queryBySpecies(String species);

    void update(String resourceNumber, String name, String value);

    void delete(String resourceNumber);

}
